﻿@{
    List<MODEL.MenuModel> list = ViewData["Menu"] as List<MODEL.MenuModel>;
    <div id="menu" style="height: 30px; background: url(/images/navThree.jpg);">
        @{
            foreach (var item in list)
            { 
            <a href="#" class="easyui-menubutton" data-options="menu:'#@item.Menu.MenuCode'">@item.Menu.SystemMenuName</a> 
            } 
        }
    </div> 
    foreach (var item in list)
    {
    <div id="@item.Menu.MenuCode" style="width: 100px;">
        @{
        foreach (var it in item.ChildMenu)
        {
            <div><a href="@it.MenuPath" style="color:black; text-align:center;text-decoration:none;">@it.SystemMenuName</a></div>
        }
        }
    </div> 
            
    }
}
